package com.qianfeng.ssm.service;

import com.github.pagehelper.PageInfo;
import com.qianfeng.ssm.pojo.Person;

/**
 * @author Zhao_Win
 * @version V1.0
 * @Project AllDay
 * @Date 2022/3/10 16:02
 */
public interface PersonService {

    Person findById(Long id);

    PageInfo<Person> findAll(int pageSize, int pageNum);

    int addPerson(Person boy);

    int deletePerson(Long id);

    int updatePersonById(Person person);

}
